'use strict';

module.exports = app => {
  app.router.post('/album/create', app.controller.album.create);
  app.router.get('/album/info', app.controller.album.info);
  app.router.get('/album/list', app.controller.album.index);
  app.router.put('/album/edit', app.controller.album.edit);
  app.router.del('/album/del', app.controller.album.destory);
  app.router.post('/album/unit', app.controller.album.unit);
};
